package com.peas.platform.module.icims.base.approve.dto;

import java.util.*;

import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 审批单待办待阅
@Data
@EqualsAndHashCode(callSuper = false)
public class ApproveOrderTobeDto extends BaseDto {

    //审批单ID
    //外键
    private Long approveOrderId;

    //待办待阅类型
    //1:待办，2:待阅
    @Condition(operator = ConditionOperator.IN)
    private String approveOrderTobeType;

    //待办待阅标题
    private String approveOrderTobeTitle;

    //待办待阅内容
    private String approveOrderTobeContent;

    //接收人ID
    //外键
    private Long receiveUserId;

    //查看时间
    private Date readTime;

    //处理时间
    private Date processTime;

    //状态
    //1待处理，2已处理
    @Condition(operator = ConditionOperator.IN)
    private String state;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
    private Date readTimeStart;
    private Date readTimeEnd;
    private Date processTimeStart;
    private Date processTimeEnd;
}
